<tr ${$index%2?'':'class="alt"'}>
	<td><?php echo CHtml::link($data->team->title,array('team/simple','id'=>$data->team->id)); ?></td>
	<td><?php echo CHtml::encode($data->quantity); ?></td>
	<td><?php echo CHtml::encode('￥'.$data->origin); ?></td>
	<td><?php
	if ($data->state=='unpay') {
	 echo CHtml::link('尚未付款',array('order/view', 'id'=>$data->id));
	} else if ($data->state=='pay'){
		echo '已经付款';
	} ?></td>
</tr>
